package com.tmall.util;

/**
 * @author 吕兵星
 * @date 2020/11/27 18:26
 */
public class Result {
    private Integer code;
    private String msg;
    private Integer count;
    private Object data;

    public Result() {
    }

    public Result(Integer code,Integer count, Object data) {
        this.code = code;
        this.count = count;
        this.msg = "";
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
